<foreach name="brands" item="brand">
    <li>
        <a href="{:U('/search/'.strtolower($brand['ename']))}">
            <img src="__STATIC__/img/grey.gif" class="lazy" data-src="{$brand.image_url}" alt="{$brand.name}"/>
        </a>

        <p>
            <span>{$brand.name}</span>
            <if condition="$brand['is_att']">
                <a href="javascript:;" class="ygz">{:L('_FOLLOWED_')}</a>
                <else/>
                <a href="javascript:;" onclick="addAtt(this,1,{$brand.id})" class="gz">+{:L('_FOLLOW_')}</a>
            </if>
        </p>
    </li>
</foreach>